import { questionTypeSelectOption } from '@/contants/table';
import { Input, Select } from 'antd';
import FormItem from 'antd/es/form/FormItem';
import React from 'react';

const { Option } = Select

export default function SearchBar() {
  return (
    <>
      <FormItem name="question">
        <Input style={{ width: '200px', marginLeft: '16px' }} placeholder="请输入题目名称模糊查询" allowClear />
      </FormItem>
      <FormItem name="type">
        <Select options={questionTypeSelectOption} style={{ width: "100px", marginLeft: "20px" }} allowClear placeholder="全部题型" />
      </FormItem>
    </>
  );
}
